# Template file for 'fcitx5-hangul'
pkgname=fcitx5-hangul
version=5.0.10
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=35d9233d3904c47abaf8d58910e183e351c7a657dd9d1964acd8fce4109d2bb9
lib32disabled=yes

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