# Template file for 'libfcitx-qt5'

pkgname=libfcitx-qt5
version="0.1.3"
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="d5ce3268f681ed739c79d6b3b3ff4cddc104dc3907549317c65f75f3c42e49b9"
hostmakedepends="cmake"
makedepends="qt5-devel"

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

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