This post is now obsolete. You can install tty-clock from the repository.
Tty-clock is a small program that displays a digital clock.
To compile it on Termux you'll need to download the sources from GitHub.
git clone https://github.com/xorg62/tty-clock.gitYou'll also need the ncurses-dev package.
apt install ncurses-devSadly, compiling with make doesn't really work with this one, I managed to compile it with the following command.
gcc -Wall -Werror -Wextra -std=c99 -pedantic -Wno-unused-parameter -lncurses -o tty-clock ttyclock.cYou can then install it with make install.
