`depends_on :x11 => :optional` and use `build.with? "x11"` everywhere instead.