class Lego < FPM::Cookery::Recipe
  name 'lego'
  version '1.0.1'
  source "https://github.com/xenolf/lego/releases/download/v#{version}/lego_v#{version}_linux_amd64.tar.gz"
  def build
    File.chmod 0755, name
    sh "strip -s #{name}"
  end

  def install
    sbin.install name
  end
end
