-_COMMIT=b1b2698a843b52ea18ae0f8fc1e5a2b6e003f409
-TERMUX_PKG_VERSION=2.2.201603181154
-TERMUX_PKG_SRCURL=https://github.com/fish-shell/fish-shell/archive/${_COMMIT}.zip
-TERMUX_PKG_DEPENDS="ncurses, libgnustl, libandroid-support"
+TERMUX_PKG_VERSION=2.4.0
+TERMUX_PKG_BUILD_REVISION=1
+TERMUX_PKG_SRCURL=https://github.com/fish-shell/fish-shell/releases/download/$TERMUX_PKG_VERSION/fish-${TERMUX_PKG_VERSION}.tar.gz
+# fish calls 'tput' from ncurses-utils, at least when cancelling (Ctrl+C) a command line.
+# man is needed since fish calls apropos during command completion.
+TERMUX_PKG_DEPENDS="ncurses, libandroid-support, ncurses-utils, man"