Configure: error: X Window system libraries and header files are required when compiling thunar 1.8.4

I am trying to compile thunar 1.8.4.

It is giving me this error.

  configure: error: X Window system libraries and header files are required

Are you not installing from a deb?

I could not find a deb for it.