# Template file for 'mcabber'
pkgname=mcabber
version=1.1.0
revision=3
build_style=gnu-configure
configure_args="--enable-hgcset --enable-enchant --enable-otr"
hostmakedepends="pkg-config"
makedepends="enchant-devel gpgme-devel libgcrypt-devel libotr-devel
 loudmouth-devel"
short_desc="Small XMPP (Jabber) console client"
maintainer="Lukas Epple <sternenseemann@lukasepple.de>"
license="GPL-2.0-or-later"
homepage="http://mcabber.com"
distfiles="${homepage}/files/mcabber-${version}.tar.bz2"
checksum=04fc2c22c36da75cf4b761b5deccd074a19836368f38ab9d03c1e5708b41f0bd

post_install() {
	vsconf mcabberrc.example
}

mcabber-devel_package() {
	depends="mcabber-${version}_${revision}"
	short_desc+=" - development files"
	pkg_install() {
		vmove usr/include
		vmove usr/lib/pkgconfig
	}
}