# Template file for 'libfcitx-qt5'

pkgname=libfcitx-qt5
version=1.0.5
revision=1
build_style=cmake
short_desc="Flexible Context-aware Input Tool with eXtension - Qt5 IM module"
maintainer="Robert La Spina <rkidlaspina@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="https://fcitx-im.org/"
distfiles="http://download.fcitx-im.org/fcitx-qt5/fcitx-qt5-${version}.tar.xz"
checksum=8cef90024ca84c3f607943b91f6bfe63fd077507bbe100e5a1936464095841de
hostmakedepends="pkg-config extra-cmake-modules"
makedepends="libxkbcommon-devel qt5-devel fcitx-devel"

wrksrc="fcitx-qt5-${version}"

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