require "formula"

class Feh < Formula
  homepage "http://feh.finalrewind.org/"
  url "http://feh.finalrewind.org/feh-2.12.tar.bz2"
  sha1 "30eb2b778858b1f4ce97e44c8225758185b0c588"

  depends_on :x11
  depends_on "giblib" => :build

  def install
    system "make", "PREFIX=#{prefix}"
    system "make", "PREFIX=#{prefix}", "install"
  end
end