# Template file for 'libhangul'
pkgname=libhangul
version=0.2.0
revision=1
build_style=gnu-configure
configure_args="--disable-static"
hostmakedepends="gettext pkg-config"
short_desc="Library to support hangul input and character classification"
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="https://github.com/libhangul/libhangul"
distfiles="https://github.com/libhangul/libhangul/releases/download/libhangul-${version}/libhangul-${version}.tar.gz"
checksum=ea04e6a0cf4840a2a3b5641c1761068c78691036db839d0838f4e7a6553a5120

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