Lightroom uses all cores. You want the fastest CPU you can afford. A faster 4-core is probably better than a slower 6-core.
You want 8 GB of memory, and preferably 16 GB.
Lightroom does not use the GPU, so go for the cheapest one there is (unless you have other programs that need the GPU)