makedepends=(libuv tcl )

description="Distributed SQLite"
url="https://github.com/CanonicalLtd/dqlite"

packager="Great-OS Team"
maintainer="Great-OS Team"

name=dqlite
version=1.18.5

source=(https://github.com/canonical/${name}/archive/v${version}.tar.gz)

build() {
  cd $name-$version

  autoreconf -i 
	
  ./configure --prefix=/usr

  make
  make DESTDIR=$PKG install

  install -Dm644 LICENSE $PKG/usr/share/licenses/${name}/LICENSE
}
