description="Library for the arithmetic of complex numbers with arbitrarily high precision."
url="http://www.multiprecision.org/"

packager="Grat-OS Team"
maintainer="rems"

name=mpc
version=1.2.1

source=(https://ftp.gnu.org/gnu/mpc/mpc-$version.tar.gz )

build() {
cd mpc-$version

./configure --prefix=/usr \
            --disable-static \
            --docdir=/usr/share/doc/$name-$version

make
make html

make check

make DESTDIR=$PKG install
make DESTDIR=$PKG install-html
}
