gifcap

click the source code to copy install gifcap on any operating system with command-not-found.com