# Template file for 'kiwix-tools'
pkgname=kiwix-tools
version=3.7.0
revision=1
build_style=meson
hostmakedepends="pkg-config"
makedepends="kiwix-lib-devel zlib-devel libmicrohttpd-devel libuuid-devel
 libcurl-devel libzim-devel"
short_desc="Kiwix command line tools"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
homepage="https://kiwix.org"
changelog="https://raw.githubusercontent.com/kiwix/kiwix-tools/main/Changelog"
distfiles="https://github.com/kiwix/kiwix-tools/archive/refs/tags/${version}.tar.gz"
checksum=7367400dab80fcf0702657b2d5324ec29f344581318659c106f5b7fca30fa0db

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" kiwix-lib-devel"
fi
