# Template file for 'axel'
pkgname=axel
version=2.14.1
revision=1
wrksrc=${pkgname}-${version}${_patch}
build_style=gnu-configure
conf_files=/etc/axelrc
hostmakedepends="automake libtool gettext-devel pkg-config"
makedepends="libressl-devel"
short_desc="Download accelerator for FTP and HTTP"
maintainer="Jürgen Buchmüller <pullmoll@t-online.de>"
license="GPL-2"
homepage="https://axel.alioth.debian.org/"
distfiles="${DEBIAN_SITE}/main/a/axel/axel_${version}.orig.tar.gz"
checksum=acf6820d98a792faf309fc9acf22f7caf4b8a4b7001072c8f546b3c4fc755e39

pre_configure() {
	./autogen.sh
}

post_install() {
	vinstall doc/axelrc.example 644 etc axelrc
}
