# Template file for 'fcitx5-rime'
pkgname=fcitx5-rime
version=5.1.5
revision=1
build_style=cmake
configure_args="-DRIME_DATA_DIR=/usr/share/rime-data"
hostmakedepends="cldr-emoji-annotation pkg-config gettext doxygen
 extra-cmake-modules"
makedepends="libfcitx5-devel fmt-devel librime-devel"
depends="brise fcitx5-rime-icons"
short_desc="Fcitx v5 - RIME engine"
maintainer="Đoàn Trần Công Danh <congdanhqx@gmail.com>"
license="GPL-3.0-or-later"
homepage="https://fcitx-im.org/wiki/Fcitx"
distfiles="https://download.fcitx-im.org/fcitx5/fcitx5-rime/fcitx5-rime-${version}.tar.xz"
checksum=fde5601799207f58266e43889e819b987fde1f4bcedb18f75fa93ec33784b2c3
lib32disabled=yes

fcitx5-rime-icons_package() {
	short_desc+=" - icons"
	pkg_install() {
		vmove usr/share/icons
	}
}
