# $Id: PKGBUILD 333889 2018-05-31 02:28:24Z felixonmars $
# Maintainer:
# Contributor: György Balló <ballogy@freestart.hu>

pkgname=aspell-hu
pkgver=0.99.4.2
pkgrel=5
pkgdesc="Hungarian spellcheck dictionary for aspell"
arch=('x86_64')
url="http://aspell.net/"
license=('GPL')
depends=('aspell')
source=("ftp://ftp.gnu.org/gnu/aspell/dict/hu/aspell6-hu-${pkgver}-0.tar.bz2")
sha512sums=('95922401f2a8aeac61b117c464b4b83b8101fbe1e0ee758b3284a67c188348db55d900c2898eaa8639ee2db99c3b27e85f9677fc6a4d54caae57dd72101cb320')

build() {
  cd "${srcdir}/aspell6-hu-${pkgver}-0"

  ./configure
  make
}

package() {
  cd "${srcdir}/aspell6-hu-${pkgver}-0"

  make DESTDIR="${pkgdir}" install
}
