Use pkg install termux-gui-bash to install. The license is the Mozilla Public License 2.0. TL;DR: You can use this library in your own projects, regardless of the license you choose for it.