# Template file for 'fcitx5-hangul'
pkgname=fcitx5-hangul
version=5.0.5
revision=1
build_style=cmake
hostmakedepends="pkg-config gettext extra-cmake-modules"
makedepends="libhangul-devel libfcitx5-devel"
depends="fcitx5-hangul-icons"
short_desc="Fcitx5 - Hangul support"
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-hangul/fcitx5-hangul-${version}.tar.xz"
checksum=0ed5d898354220ec250bf11a69e7dbe46b2c3871f4eeaa7cc87461dce47b4876
lib32disabled=yes

fcitx5-hangul-icons_package() {
	short_desc+=" - icons"
	conflicts="fcitx-hangul<=0.3.1_1"
	pkg_install() {
		vmove usr/share/icons
	}
}