# Template file for 'libcommuni'
pkgname="libcommuni"
version="3.4.0"
revision="1"
build_style=qmake
hostmakedepends="qt5-qmake"
makedepends="qt5-declarative-devel"
short_desc="A cross-platform IRC framework written with Qt"
maintainer="John Regan <john@jrjrtech.com>"
license="BSD"
homepage="http://communi.github.io/"
distfiles="https://github.com/communi/libcommuni/archive/v${version}.tar.gz"
configure_args="-config release"
checksum=31afe0ab824e8c50b54053cbcecf9c46a62e83e9694b25a0fe523afd4fbf2e79

post_install() {
	vlicense LICENSE
}

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