# Template file for 'mlmmj'
pkgname=mlmmj
version=2.1.0
revision=1
_url_version="${version//./_}"
build_style=gnu-configure
hostmakedepends="pkg-config"
checkdepends="atf-devel kyua"
short_desc="Mailing List Management Made Joyful"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="http://mlmmj.org/"
distfiles="https://codeberg.org/mlmmj/mlmmj/releases/download/RELEASE_${_url_version}/mlmmj-${version}.tar.xz"
checksum=319bf4d4156efa8c938edc5ab15060ff7ad8c7d712e5f70cb5894b4db47f6659

CFLAGS="-fcommon"

if [ -z "${XBPS_CHECK_PKGS}" ]; then
	configure_args+=" --disable-tests"
fi

post_install() {
	vlicense COPYING
}
