# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Contributor: Rémy Oudompheng <oudomphe@clipper.ens.fr>

pkgname=iml
pkgver=1.0.5
pkgrel=3
pkgdesc="C Library of integer matrix algorithms"
arch=(x86_64)
url="https://cs.uwaterloo.ca/~astorjoh/iml.html"
license=(GPL)
depends=(gmp cblas)
source=("https://www.cs.uwaterloo.ca/~astorjoh/$pkgname-$pkgver.tar.bz2")
sha256sums=('1dad666850895a5709b00b97422e2273f293cfadea7697a9f90b90953e847c2a')

build() {
  cd $pkgname-$pkgver
  ./configure --prefix=/usr --enable-shared --with-cblas=-lcblas
  make
}

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