# Note: depends on cmake
# Note: depends on fftw
# Note: depends on qt4
wget -c https://github.com/Y-Vladimir/SmartDeblur/archive/24f4ab5377cae72316a74578111937c08b741fda/SmartDeblur-24f4ab5377cae72316a74578111937c08b741fda.tar.gz
tar -xzf SmartDeblur-24f4ab5377cae72316a74578111937c08b741fda.tar.gz
cd SmartDeblur-24f4ab5377cae72316a74578111937c08b741fda
rm -rf dist src/FFTW/libs # waste of bandwidth
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="/usr" -DUSE_SYSTEM_FFTW=ON ../src
make # Doesn't mind -j#
make install