Prospects of squark and slepton searches at a gamma–gamma collider