### this file is sourced not run
PKGVER=1.9.4
PKGBUILD=1
PKGARCH=x86_64

# source: james
TARBALL=goaccess-$PKGVER.tar.gz
MD5SUM=cb95d2dbdb18d1345264c324f1723f9e
SRC_URL=https://tar.goaccess.io/$TARBALL
BUNDLE=

SLACKREQ=libmaxminddb
SLACKDESC="goaccess: goaccess $PKGVER (Log analyzer)
goaccess: 
goaccess: GoAccess was designed to be a fast, terminal-based log analyzer. Its 
goaccess: core idea is to quickly analyze and view web server statistics in 
goaccess: real time without needing to use your browser. However, it also has 
goaccess: the capability to generate a complete, self-contained real-time HTML 
goaccess: report.
goaccess: This package is built with UTF-8, openssl and MaxMind GeoIP support.
goaccess:
goaccess: https://goaccess.io/
goaccess: 
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	CONFFLAGS="$CONFFLAGS   \
		--enable-utf8       \
		--with-getline      \
		--with-openssl      \
		--enable-geoip=mmdb \
	"
	pkg_build_autoconf &&
	pkg_build_slackdesc
}


