# Template file for 'libguess'
pkgname=libguess
version=1.2
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="libmowgli-devel"
short_desc="High-speed character set detection library"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="http://www.atheme.org/project/libguess"
license="3-clause-BSD"
distfiles="http://rabbit.dereferenced.org/~nenolod/distfiles/libguess-${version}.tar.bz2"
checksum=8019a16bdc7ca9d2efbdcc1429d48d033d5053d42e45fccea10abf98074f05f8

post_install() {
	vlicense COPYING
}

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