# Template file for 'whois'
pkgname=whois
version=5.2.9
revision=1
build_pie=yes
hostmakedepends="perl"
makedepends="libidn-devel"
short_desc="An improved whois client"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.linux.it/~md/software"
license="GPL-2"
distfiles="${DEBIAN_SITE}/main/w/${pkgname}/${pkgname}_${version}.tar.xz"
checksum=eee5446bf76ca7d38052767d6e2c542297d3a54ce928cada0ff24d2f1749d359

do_build() {
	make CC=$CC prefix=/usr HAVE_LIBIDN=1
}
do_install() {
	make prefix=/usr BASEDIR=${DESTDIR} install-whois
}
