# Template file for 'gloox'
pkgname=gloox
version=1.0.21
revision=2
build_style=gnu-configure
configure_args="--disable-static"
makedepends="zlib-devel"
short_desc="The Portable XMPP Engine"
maintainer="Wilson Birney <wpb@360scada.com>"
license="GPL-3.0-or-later"
homepage="https://camaya.net/gloox/"
distfiles="https://camaya.net/download/gloox-${version}.tar.bz2"
checksum=3c13155c10e3182a1a57779134cc524efb3657545849534b2831fae0e2c3a7cc

gloox-devel_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/bin/gloox-config
		vmove usr/include
		vmove "usr/lib/*.so"
		vmove usr/lib/pkgconfig
	}
}
