# Template file for 'libmowgli'
pkgname=libmowgli
version=2.0.0
revision=6
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="openssl-devel"
short_desc="Performance and usability-oriented extensions to C"
maintainer="davehome <davehome@redthumb.info.tm>"
homepage="http://www.atheme.org/project/mowgli"
license="MIT"
distfiles="http://archlinux.c3sl.ufpr.br/other/packages/libmowgli/libmowgli-${version}.tar.gz"
checksum=7c5a94082899d055fc9a02b94e2658b42616fdb98e58e9a71165c07b6f5cceba

post_install() {
	vinstall COPYING 644 usr/share/licenses/${pkgname}
}

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