# Maintainer: PktSurf <smlinux@pktsurf.in>
app=gspell
version=1.8.3
build=1sml
homepage="https://wiki.gnome.org/Projects/gspell"
download="https://gitlab.gnome.org/GNOME/gspell/-/archive/$version/gspell-$version.tar.bz2"
desc="Flexible API to implement spell checking in a GTK+ application"
requires="iso-codes enchant libxml2 gobject-introspection gtk3"

prepbuilddir() {
  mkandenterbuilddir
  rm -rf $app-$version

  tar xf $srcdir/$app-$version.tar.?z*
  cd $app-$version 
  fixbuilddirpermissions
}

build() {
  ./configure \
    --prefix=

  make
  make install DESTDIR=$pkg 

  cp COPYING $pkgdocs/

  mkfinalpkg
}

sha512sums="
25f77e2df55e5b93a4648a784e8d749ca8e806c3c5bc902d5522f14b644406ccbdfc451ec1b52b1271c7274ae824eac4c644df07711eeed7e9572cc6399b0f95  gspell-1.8.3.tar.lz
"
