# Template file for 'geoipupdate'
pkgname=geoipupdate
version=3.1.1
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>"
license="GPL-2.0-or-later"
homepage="https://github.com/maxmind/geoipupdate"
changelog="https://raw.githubusercontent.com/maxmind/geoipupdate/master/ChangeLog.md"
distfiles="https://github.com/maxmind/geoipupdate/releases/download/v${version}/geoipupdate-${version}.tar.gz"
checksum=3de22e3fe3282024288a00807bbea9a1ffa2d1e8fe9c611f4b14a5b4d8ebe08a
conf_files="/etc/geoip/GeoIP.conf"

pre_configure() {
	autoreconf -fi
}
