# Template file for 'geoipupdate'
pkgname=geoipupdate
version=2.4.0
revision=1
build_style=gnu-configure
configure_args="--mandir=/usr/share/man --sysconfdir=/etc/geoip"
hostmakedepends="automake libtool"
makedepends="zlib-devel libcurl-devel"
short_desc="GeoIP update client code "
maintainer="Enno Boland <gottox@voidlinux.eu>"
homepage="https://github.com/maxmind/geoipupdate"
license="GPL-2"
distfiles="https://github.com/maxmind/geoipupdate/releases/download/v$version/geoipupdate-$version.tar.gz"
checksum=8b4e88ce8d84e9c75bc681704d19ec5c63c54f01e945f7669f97fb0df7e13952
conf_files="/etc/geoip/GeoIP.conf"

pre_configure() {
	autoreconf -fi
}
