# Watch: https://github.com/kyx0r/nextvi/tags
           SPELL=nextvi
         VERSION=1.8
          SOURCE="$SPELL-$VERSION.tar.gz"
   SOURCE_URL[0]=https://github.com/kyx0r/$SPELL/archive/refs/tags/$VERSION.tar.gz
     SOURCE_HASH=sha512:aa6bd1a9ff07e8db58aa74343ada611d1e698977b6ec9582846fc96a95bead202ae4b41ae7c9f7962ee331736d2cb40a82b919e1a07b79dd3b5288ea5761be64
    SOURCE2_HASH=sha512:5f4e4069612945e7862d0e8e0942ee697e87403fccceb5ab453d3e3228d5737d311cf8eccf07c9168d1b6a20603b7ed869a19a8942aa2e07599daf69b438f5cd
    SOURCE3_HASH=sha512:3ae30ae6862560e44bd60639238b358b89d2eaeffc89dbba14a8dc0686708a700a2da45d2297cb2d5f744cb42e03b4eccf4db46c6840d76d5421b5aef00a8b38
    SOURCE4_HASH=sha512:0b039ebf9770d54806896ad0b205b449b1e7b03733ca007f743d2616d6d71c6321f16afb76e4cddb97a7f8b18ae92876cdacf1154cde40d5f135b3328947ab10
    SOURCE5_HASH=sha512:757c0e6742ac62089ffbfbe0e215cc83313e3f3a34f486f38afe43b989c25be46e30389e4dc824621092a2d1d71487a74e42527e52447960a6a2d7128b530943
    SOURCE6_HASH=sha512:bedbb2c8fef5a9da5cf01e32b3240aea9c7f75e6ab2ef3e34da97dad7f1c680a985c89ff395d4a4ea191dba04e80b5ed486b778104e751cd8729b78978c29144
    SOURCE7_HASH=sha512:cb76cbadb6601acd297b99c9f31f3d901cac3a5245d19803005a680e0bb61a8dd831d2f44c02c7255f7bc8d80a2432ca6819ce33f997a011f8c4d10d523a81dd
    SOURCE8_HASH=sha512:979bacd151b0330167073aae6dbf617a020c71e80ef51b28ccadd88f31a5815d61ba44e40c80d2575eceb8e06a6f959762a9912b50f68ebc11ea9335e91c4f2e
    SOURCE9_HASH=sha512:f047b4d04c63bac764f7facac86984300eb9cbc722135bc4f4384425dc17db2d27ccb1c82c4abd485d11bdb53cb6107be8e23a39c55fddd7c4da9dad40aaa067
     PATCHES_REV=66a25fff20c1aaa5e51ccc126e2f97f910432bf2
     PATCHES_URL=https://raw.githubusercontent.com/kyx0r/nextvi/$PATCHES_REV
  SOURCE2_URL[0]=$PATCHES_URL/Makefile
  SOURCE3_URL[0]=$PATCHES_URL/arrowkeys_normal.patch # Arrow keys support in NORMAL mode
  SOURCE4_URL[0]=$PATCHES_URL/arrowkeys_insert.patch # Arrow keys support in INSERT mode
  SOURCE5_URL[0]=$PATCHES_URL/stdin_pipe.patch       # Allow to use vi like a pager
  SOURCE6_URL[0]=$PATCHES_URL/filetype_shebang.patch # Detect filetype based on the shebang
  SOURCE7_URL[0]=$PATCHES_URL/ac_context.patch       # Improveme autocomplete with context
  SOURCE8_URL[0]=$PATCHES_URL/chunked_read.patch     # Read files in chunks
  SOURCE9_URL[0]=$PATCHES_URL/c_option.patch         # Adds -c commandline option
         SOURCE2="$SPELL-${SOURCE2_HASH:7:12}-${SOURCE2_URL##*/}"
         SOURCE3="$SPELL-${SOURCE3_HASH:7:12}-${SOURCE3_URL##*/}"
         SOURCE4="$SPELL-${SOURCE4_HASH:7:12}-${SOURCE4_URL##*/}"
         SOURCE5="$SPELL-${SOURCE5_HASH:7:12}-${SOURCE5_URL##*/}"
         SOURCE6="$SPELL-${SOURCE6_HASH:7:12}-${SOURCE6_URL##*/}"
         SOURCE7="$SPELL-${SOURCE7_HASH:7:12}-${SOURCE7_URL##*/}"
         SOURCE8="$SPELL-${SOURCE8_HASH:7:12}-${SOURCE8_URL##*/}"
         SOURCE9="$SPELL-${SOURCE9_HASH:7:12}-${SOURCE9_URL##*/}"
SOURCE_DIRECTORY="$BUILD_DIRECTORY/${SOURCE%.tar.gz}"
        WEB_SITE="https://github.com/kyx0r/nextvi"
      LICENSE[0]="ISC"
         ENTERED=20220212
        KEYWORDS=""
           SHORT="tiny vi/ex-like editor with UTF-8 support"
cat << EOF
Nextvi is a ex/vi-like editor; successor to neatvi. It can edit bidirectional
UTF-8 text.

Nextvi tends to favor clean implementations over 100% adhering to POSIX,
like neatvi does. Thus the name "next", to signify that we are thinking
outside the box.
EOF
