# Template file for 'biboumi'
pkgname=biboumi
version=9.0
revision=5
build_style=cmake
configure_args="-DWITHOUT_SYSTEMD=1"
conf_files="/etc/biboumi/biboumi.cfg"
make_dirs="/var/lib/biboumi/ 0755 _biboumi _biboumi"
hostmakedepends="python3-Sphinx python3-sphinx_rtd_theme pkg-config"
makedepends="expat-devel libticonv-devel sqlite-devel libpqxx-devel
 libidn-devel udns-devel botan-devel postgresql-libs-devel"
short_desc="XMPP to IRC gateway"
maintainer="Luca Matei Pintilie <luca@lucamatei.com>"
license="Zlib"
homepage="https://biboumi.louiz.org/"
changelog="https://codeberg.org/poezio/biboumi/raw/branch/master/CHANGELOG.rst"
distfiles="https://codeberg.org/poezio/biboumi/archive/${version}.tar.gz"
checksum="618776cf3dccb59c84322a921681f4b1f8b144b523fd5e118d2b47fb0f3eb43f"

system_accounts="_biboumi"
_biboumi_homedir="/var/lib/biboumi"

post_install() {
	vinstall conf/biboumi.cfg 644 /etc/biboumi
	vsv biboumi
}
