# Template file for 'libwps'
pkgname=libwps
version=0.4.3
revision=1
build_style=gnu-configure
short_desc="Library for importing Microsoft Works documents"
maintainer="Enno Boland <gottox@voidlinux.eu>"
license="MPL/LGPL"
makedepends="boost-devel librevenge-devel"
hostmakedepends="pkg-config"
homepage="http://libwps.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/libwps/libwps-${version}.tar.xz"
checksum=617d448a6c9bf935fc77a766e0b45d26f0886663d90b9bb00cfed9c28fbf13da

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

libwps-tools_package() {
	short_desc+=" - tools"
	pkg_install() {
		vmove usr/bin
	}
}
