To build the source, you'll need the following packages:
g++>= 8.0libxinerama-devlibxcursor-devlibglu1-mesa-devlibxrandr-devlibxi-devlibglew-devlibglfw3-devlibjpeg-devlibx264-dev
The rest should be straightforward:
$ mkdir build
$ cd build
$ cmake ..
$ make -j`nproc`