# Template file for 'wget'
pkgname=wget
version=1.16.3
revision=4
build_style=gnu-configure
configure_args="--with-ssl=openssl"
hostmakedepends="perl pkg-config"
makedepends="libressl-devel libidn-devel libuuid-devel pcre-devel"
depends="ca-certificates"
conf_files="/etc/wgetrc"
short_desc="The GNU wget download utility"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.gnu.org/software/wget/wget.html"
license="GPL-3"
distfiles="${GNU_SITE}/$pkgname/$pkgname-$version.tar.xz"
checksum=67f7b7b0f5c14db633e3b18f53172786c001e153d545cfc85d82759c5c2ffb37

post_install() {
	echo "ca_certificate=/etc/ssl/certs/ca-certificates.crt" >> ${DESTDIR}/etc/wgetrc
}
