# Template file for 'recoll'
pkgname=recoll
version=1.24.1
revision=1
build_style=gnu-configure
configure_args="--disable-python-module --enable-recollq --disable-x11mon"
hostmakedepends="automake libtool gettext-devel qt5-qmake"
makedepends="xapian-core-devel zlib-devel libuuid-devel qt5-webkit-devel qt5-devel"
short_desc="Full text search tool based on Xapian backend"
maintainer="Rui Abreu Ferreira <raf-ep@gmx.com>"
license="GPL-2.0-or-later"
homepage="https://www.lesbonscomptes.com/recoll/"
distfiles="https://www.lesbonscomptes.com/$pkgname/$pkgname-${version}.tar.gz"
checksum=1d6433cd79fc25fc2941620eba8be934629189fd078c8b8a4028a301bc7f75eb

if [ -n "$CROSS_BUILD" ]; then
	hostmakedepends+=" qt5-host-tools qt5-devel qt5-webkit-devel"
fi

pre_configure() {
	autoreconf -fi
}
