# Template file for 'fcitx-unikey'
pkgname=fcitx-unikey
version=0.2.7
revision=2
build_style=cmake
configure_args="-DENABLE_QT=ON"
hostmakedepends="pkg-config gobject-introspection gettext fcitx qt5-devel"
makedepends="libfcitx-qt5-devel"
depends="fcitx"
short_desc="Support unikey (Vietnamese input method) for fcitx"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://gitlab.com/fcitx/fcitx-unikey"
distfiles="https://download.fcitx-im.org/${pkgname}/${pkgname}-${version}.tar.xz"
checksum=e750774b73b08e51148b963736d8207e50c3973e5456b6569cb7ad86831e0e59

fcitx-unikey-qt5_package() {
	short_desc+=" - Qt5 IM module"
	depends="fcitx-unikey-${version}_${revision}"
	pkg_install() {
		vmove usr/lib/fcitx/qt
	}
}
