# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=zsh-autosuggestions
pkgver=0.7.0
pkgrel=0
pkgdesc="Fish-like autosuggestions for Zsh"
options="!check" # No testsuite
url="https://github.com/zsh-users/zsh-autosuggestions"
arch="noarch"
license="MIT"
depends="zsh"
source="$pkgname-$pkgver.tar.gz::https://github.com/zsh-users/zsh-autosuggestions/archive/v$pkgver.tar.gz"

package() {
	install -D $pkgname.zsh $pkgname.plugin.zsh -t \
		 "$pkgdir/usr/share/zsh/plugins/$pkgname"
}

sha512sums="
b1a0a11a89095e4f142061525f92836588561e3bfab015bb96eabe3f1f68d0cfcd7483014dac8c5b2911e65640e9182c5fc4cb4fb53e3a05ef7997c006ff76a6  zsh-autosuggestions-0.7.0.tar.gz
"
