# Template file for 'dante'
pkgname=dante
version=1.4.2
revision=5
build_style=gnu-configure
hostmakedepends="tar automake libtool"
short_desc="SOCKS server and client"
maintainer="shtayerc <david.murko@mailbox.org>"
license="MIT-CMU"
homepage="http://www.inet.no/dante/index.html"
distfiles="http://www.inet.no/dante/files/dante-${version}.tar.gz"
checksum=4c97cff23e5c9b00ca1ec8a95ab22972813921d7fbf60fc453e3e06382fc38a7

if [ "$XBPS_TARGET_LIBC" = "glibc" ]; then
	configure_args="--with-libc=libc.so.6"
	makedepends+=" libxcrypt-devel"
else
	configure_args="ac_cv_func_sched_setscheduler=no"
fi

pre_configure() {
	autoreconf -fi
}

post_install() {
	vlicense LICENSE
}
