# Template file for 'ncftp'
pkgname=ncftp
version=3.2.7
revision=1
build_style=gnu-configure
hostmakedepends="automake"
short_desc="Set of application programs implementing the File Transfer Protocol"
maintainer="Orphaned <orphan@voidlinux.org>"
license="ClArtistic"
homepage="http://www.ncftp.com/ncftp/"
distfiles="https://www.ncftp.com/public_ftp/ncftp/${pkgname}-${version}-src.tar.gz"
checksum=dbde0d3b4d28ba3a445621e10deaee57a6ba3ced277cc9dbce4052bcddf6cb2a

_older_version="https://www.ncftp.com/public_ftp/ncftp/older_versions/"
case "$XBPS_DISTFILES_MIRROR" in
	*"${_older_version}"*) ;;
	*)
	XBPS_DISTFILES_MIRROR+=" https://www.ncftp.com/public_ftp/ncftp/older_versions/"
	;;
esac

pre_configure() {
	cp autoconf_local/* .
	autoreconf -fi
}

post_install() {
	vlicense doc/LICENSE.txt
}
