-_MAJOR_VERSION=1.6beta2
-# Need to be considered a higher version than "1.5rc1":
-TERMUX_PKG_VERSION=1:$_MAJOR_VERSION
-TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}.src.tar.gz
+_MAJOR_VERSION=1.7
+# Use the ~ deb versioning construct in the future:
+TERMUX_PKG_VERSION=2:${_MAJOR_VERSION}~beta2
+TERMUX_PKG_SRCURL=https://storage.googleapis.com/golang/go${_MAJOR_VERSION}beta2.src.tar.gz