# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Rainy <rainylau(at)gmail(dot)com>
# Contributor: Lee.MaRS <leemars at gmail dot com>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>

pkgname=ibus-anthy
pkgver=1.5.11
pkgrel=1
pkgdesc='Japanese input method Anthy IMEngine for IBus Framework'
arch=('x86_64')
license=('LGPL')
url='http://ibus.googlecode.com'
depends=('ibus' 'anthy' 'python' 'gtk-update-icon-cache' 'python-gobject')
makedepends=('intltool' 'gobject-introspection')
source=("$pkgname-$pkgver.tar.gz::https://github.com/ibus/ibus-anthy/archive/$pkgver.tar.gz")
sha512sums=('ffdcdecb7c61afe1d52352935144f8b0af7fc0e22efce7b91b60c6c2061bc998362336a41c246887f604126e6bba2b215dbec771636926a9902ec5f761b918b9')

build() {
  cd $pkgname-$pkgver

  ./autogen.sh --prefix=/usr --libexec=/usr/lib/ibus
  make
}

package() {
  cd $pkgname-$pkgver
  make DESTDIR="$pkgdir" install
}

