# Template file for 'ibus-anthy'
pkgname=ibus-anthy
version=1.5.12
revision=1
build_style=gnu-configure
build_helper=gir
configure_args="--libexec=/usr/lib/ibus"
hostmakedepends="automake libtool pkg-config swig intltool gettext-devel"
makedepends="anthy-devel ibus-devel python3-gobject-devel"
depends="ibus"
short_desc="Japanese input method Anthy IMEngine for IBus Framework"
maintainer="7185 <7185@free.fr>"
license="LGPL-2.1-or-later"
homepage="https://github.com/ibus/ibus/wiki"
distfiles="https://github.com/ibus/${pkgname}/archive/${version}.tar.gz"
checksum=7756216666264b25083adb3a3e53f6a0ff744efc3331fe7ac7becbf4ed17d2ca
make_check=extended

post_patch() {
	2to3 -w gir/test.py
}

pre_configure() {
	autoreconf -fi
}
