# Template file for 'lftp'
pkgname=lftp
version=4.4.10
revision=1
build_style=gnu-configure
configure_args="--with-modules --disable-rpath --without-included-regex
 --with-openssl i_cv_posix_fallocate_works=yes"
hostmakedepends="libtool pkg-config"
makedepends="ncurses-devel readline-devel openssl-devel expat-devel"
short_desc="Sophisticated FTP/HTTP client"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://lftp.yar.ru/"
license="GPL-3"
distfiles="http://lftp.yar.ru/ftp/lftp-${version}.tar.xz"
checksum=04eba6be3ebb7b6074017d5c56f2cc106122edd055bbc446a264400214c56830

pre_configure() {
	libtoolize -f
}

lftp_package() {
	conf_files="/etc/lftp.conf"
	pkg_install() {
		vmove all
	}
}
